﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using HustQQServer.DataBase;

namespace HustQQServer
{
    public partial class Form1 : Form
    {
        ServerEvt se = new ServerEvt();
        public Form1()
        {
            InitializeComponent();
            
        }

        private void button1_Click(object sender, EventArgs e)
        {
            //HustQQModel.User u = new HustQQModel.User();
            //u.address = "Network";
            //u.age = 1;
            //u.birthday = "Network";
            //u.ip = "Network";
            //u.password = "Network";
            //u.name = "Network";
            //u.sex = 2;
            //u.note = "Network";
            //u.telephone = "Network";
            //u.other = "Network";
            //u.face = 1;
            //string t = UserDB.InsertUsr(u);
            //string s = TeamDB.NewTeam("599178");
            //HustQQModel.User u = UserDB.GetUserInfo("599178", true);
            //u.friends = UserDB.GetFriends("599178");

            bool t = TeamDB.InsertAMember("239568", "111");
            //bool t = TeamDB.DeleteAMember("239568", "111");
            //string s = TeamDB.GetGroupName("239568");
        }

        private void Form1_Load(object sender, EventArgs e)
        {

        }
    }
}
